package net.moonbiter.ebs.protocols.httpjava.client;

/**
 * There was a problem invokating the service,
 * is not a "business" exception but something related
 * to communication or server incorrectness.
 */
public class ServiceInvokationFailureException extends RuntimeException {
	private String serviceName;
	private String providername;
	
	public ServiceInvokationFailureException(String providerName,
			String serviceName, Throwable cause){
		super("invokation failed, provider:"+providerName+", service:"+serviceName,cause);
		this.providername = providerName;
		this.serviceName = serviceName;
	}

	public String getServiceName() {
		return serviceName;
	}

	public String getProvidername() {
		return providername;
	}
	
}
